package behaviour.chain.chain_demo1;

/**
 * @author yeyangtao
 * @date 2020/6/24 14:52
 */
public class ErrorLogger extends AbstractLogger {
    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("ERROR:" + message);
    }
}
